import request from '../utils/request'
export function login(data) {
    return request({
        url: '/user/login',
        method: 'post',
        data
    })
}

export function register(params) {
    return request({
        url: '/user/register',
        method: 'post',
        params
    })
}

export function getUserInfo(params) {
    return request({
        url: '/user/getUserInfo',
        method: 'post',
        params
    })
}

export function UpdUserInfo(params) {
    return request({
        url: '/user/UpdUserInfo',
        method: 'post',
        params
    })
}